#pragma once
#include "../../GameHead.h"
#include "LoginView.h"

class LoginFrame:public GameFrame
{
public:
	LoginFrame(void);
	~LoginFrame(void);

	virtual void show(void* data);
	virtual void close();

	GameView* getLayer() { return _view; }

	void palyGame(cocos2d::Object *sender);
private:
	void initFrame();
	void onRoleInfoEvent(void* data);
private:
	LoginView* _view;
};

